[INFO] cloning repository https://github.com/Chelotile/contact-ms-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chelotile/contact-ms-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChelotile%2Fcontact-ms-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChelotile%2Fcontact-ms-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e2e241d0ac5d33add6f4617841b7f0d83db4d0ed
[INFO] fixing Chelotile/contact-ms-rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChelotile%2Fcontact-ms-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/Chelotile/contact-ms-rust
[INFO] finished tweaking git repo https://github.com/Chelotile/contact-ms-rust
[INFO] tweaked toml for git repo https://github.com/Chelotile/contact-ms-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Chelotile/contact-ms-rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Chelotile/contact-ms-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded regex-cache v0.2.1
[INFO] [stderr]   Downloaded garde_derive v0.22.1
[INFO] [stderr]   Downloaded oncemutex v0.1.1
[INFO] [stderr]   Downloaded garde v0.22.1
[INFO] [stderr]   Downloaded envy v0.4.2
[INFO] [stderr]   Downloaded axum_typed_multipart_macros v0.16.5
[INFO] [stderr]   Downloaded axum_typed_multipart v0.16.5
[INFO] [stderr]   Downloaded axum-valid v0.24.0
[INFO] [stderr]   Downloaded phonenumber v0.3.9+9.0.21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3553898a8d1248793667d141cf2275f5a4ad2c973ef7545f22bb938c62c52ec5
[INFO] running `Command { std: "docker" "start" "3553898a8d1248793667d141cf2275f5a4ad2c973ef7545f22bb938c62c52ec5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3553898a8d1248793667d141cf2275f5a4ad2c973ef7545f22bb938c62c52ec5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3553898a8d1248793667d141cf2275f5a4ad2c973ef7545f22bb938c62c52ec5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3553898a8d1248793667d141cf2275f5a4ad2c973ef7545f22bb938c62c52ec5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling syn v2.0.116
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]    Compiling semver v1.0.27
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling rustls-pki-types v1.14.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling heapless v0.7.17
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling regex-syntax v0.8.9
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking uuid v1.21.0
[INFO] [stderr]    Compiling hash32 v0.2.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]     Checking bitflags v2.11.0
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling tinyvec v1.10.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling webpki-roots v1.0.6
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling rustls-webpki v0.103.9
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling chrono v0.4.43
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling quick-xml v0.38.4
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking linked-hash-map v0.5.6
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking lru-cache v0.1.2
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling rust_decimal v1.40.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking minimal-lexical v0.2.1
[INFO] [stderr]     Checking oncemutex v0.1.1
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]     Checking regex-syntax v0.6.29
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling whoami v1.6.1
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking regex-cache v0.2.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]     Checking tempfile v3.25.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking sharded-slab v0.1.7
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking cfb v0.7.3
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking nu-ansi-term v0.50.3
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking http-range-header v0.4.2
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking nanoid v0.4.0
[INFO] [stderr]     Checking infer v0.19.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling axum_typed_multipart_macros v0.16.5
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling cobs v0.3.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling postcard v1.1.3
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling phonenumber v0.3.9+9.0.21
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling garde_derive v0.22.1
[INFO] [stderr]     Checking simple_asn1 v0.6.4
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]     Checking jsonwebtoken v10.3.0
[INFO] [stderr]    Compiling sqlx-postgres v0.8.6
[INFO] [stderr]     Checking axum-extra v0.12.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.22
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking envy v0.4.2
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.8
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking garde v0.22.1
[INFO] [stderr]     Checking axum_typed_multipart v0.16.5
[INFO] [stderr]     Checking axum-valid v0.24.0
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking contactMS v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let user=  sqlx::query_as!(User,
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 42 | |             r#"
[INFO] [stdout] 43 | |             SELECT
[INFO] [stdout] 44 | |                 id,
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |             id
[INFO] [stdout] 62 | |         ).fetch_one(&self.pool)
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |          let user = sqlx::query_as!(User,
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 69 | |         r#"
[INFO] [stdout] 70 | |             SELECT
[INFO] [stdout] 71 | |                 id,
[INFO] [stdout] ...  |
[INFO] [stdout] 87 | |             "#,email
[INFO] [stdout] 88 | |         ).fetch_one(&self.pool)
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:95:22
[INFO] [stdout]    |
[INFO] [stdout] 95 |           let exists = sqlx::query_scalar!(r#"SELECT EXISTS(SELECT 1 FROM users
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 96 | |                                                         WHERE email = $1) as "exists!:bool""#, email).fetch_one(&self.pool).await?;
[INFO] [stdout]    | |_____________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |           let saved_user = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 102 | |         User,
[INFO] [stdout] 103 | |         r#"INSERT INTO users(id, user_name, first_name, last_name, gender, address, phone_number,
[INFO] [stdout] 104 | |            date_of_birth, age, email, role, password,profile_image, created_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |         user.created_at
[INFO] [stdout] 136 | |     ).fetch_one(&self.pool)
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 | /         sqlx::query!(
[INFO] [stdout] 144 | |             r#"UPDATE users SET
[INFO] [stdout] 145 | |                  first_name=$1,
[INFO] [stdout] 146 | |                  last_name = $2,
[INFO] [stdout] ...   |
[INFO] [stdout] 162 | |             user_id
[INFO] [stdout] 163 | |         ).execute(&self.pool)
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:169:22
[INFO] [stdout]     |
[INFO] [stdout] 169 |         let result = sqlx::query!(r#"DELETE FROM users WHERE id = $1"#, id)
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:179:20
[INFO] [stdout]     |
[INFO] [stdout] 179 |           let users= sqlx::query_as!(User,r#" SELECT
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 180 | |                                     id,
[INFO] [stdout] 181 | |                                     user_name,
[INFO] [stdout] 182 | |                                     first_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |                                 LIMIT $1 OFFSET $2"#,
[INFO] [stdout] 197 | |                                 limit,offset)
[INFO] [stdout]     | |_____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:209:20
[INFO] [stdout]     |
[INFO] [stdout] 209 |           let users= sqlx::query_as!(User,r#" SELECT
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 210 | |                                         id,
[INFO] [stdout] 211 | |                                         user_name,
[INFO] [stdout] 212 | |                                         first_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 225 | |                                     WHERE first_name ILIKE $1 or last_name ILIKE $1
[INFO] [stdout] 226 | |                                     ORDER BY first_name "#,search_pattern)
[INFO] [stdout]     | |__________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:236:20
[INFO] [stdout]     |
[INFO] [stdout] 236 |           let users= sqlx::query_as!(User,r#" SELECT
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 237 | |                                     id,
[INFO] [stdout] 238 | |                                     user_name,
[INFO] [stdout] 239 | |                                     first_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 253 | |                                 ORDER BY age DESC
[INFO] [stdout] 254 | |                                 "#,gender as Gender)
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:264:21
[INFO] [stdout]     |
[INFO] [stdout] 264 |           let users = sqlx::query_as!(User, r#" SELECT
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 265 | |                                                 id,
[INFO] [stdout] 266 | |                                                  user_name,
[INFO] [stdout] 267 | |                                                  first_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 281 | |                                                 ORDER BY age DESC
[INFO] [stdout] 282 | |                                                  "#, age)
[INFO] [stdout]     | |_________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:292:9
[INFO] [stdout]     |
[INFO] [stdout] 292 | /         sqlx::query!(
[INFO] [stdout] 293 | |             r#" INSERT INTO refresh_tokens (id, user_id, token, family,expires_at)
[INFO] [stdout] 294 | |                 VALUES ($1, $2, $3, $4, $5)"#,
[INFO] [stdout] 295 | |             token.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 299 | |             token.expires_at,
[INFO] [stdout] 300 | |         ).execute(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:307:21
[INFO] [stdout]     |
[INFO] [stdout] 307 |           let token = sqlx::query_as!(RefreshToken,
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 308 | |                             r#" SELECT
[INFO] [stdout] 309 | |                                     id,
[INFO] [stdout] 310 | |                                     user_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 315 | |                                 FROM refresh_tokens WHERE token = $1"#,token
[INFO] [stdout] 316 | |         ).fetch_one(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:323:21
[INFO] [stdout]     |
[INFO] [stdout] 323 |           let result =sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 324 | |             r#"DELETE FROM refresh_tokens WHERE token = $1"#,token
[INFO] [stdout] 325 | |         ).execute(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 335 | /         sqlx::query!(
[INFO] [stdout] 336 | |             r#"DELETE FROM refresh_tokens WHERE family = $1"#,family
[INFO] [stdout] 337 | |         ).execute(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/doc_repository.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |           let saved_doc = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 38 | |             Document,
[INFO] [stdout] 39 | |             r#"INSERT INTO documents(id, user_id,doc_type, doc_title, file_url, file_type, file_size,file_name, uploaded_at)
[INFO] [stdout] 40 | |               VALUES ($1, $2, $3, $4, $5, $6, $7, $8,$9)
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |             doc.file_name,
[INFO] [stdout] 59 | |         doc.uploaded_at)
[INFO] [stdout]    | |________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/doc_repository.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |          let docs = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 66 | |            Document, r#"SELECT
[INFO] [stdout] 67 | |                                 id,
[INFO] [stdout] 68 | |                                 user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |                                 FROM documents WHERE user_id = $1"#, user_id
[INFO] [stdout] 77 | |        ).fetch_all(&self.pool).await?;
[INFO] [stdout]    | |________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/doc_repository.rs:86:18
[INFO] [stdout]    |
[INFO] [stdout] 86 |           let doc= sqlx::query_as!(Document,
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 87 | |             r#"SELECT
[INFO] [stdout] 88 | |                     id,
[INFO] [stdout] 89 | |                     user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 96 | |                     uploaded_at
[INFO] [stdout] 97 | |                 FROM documents WHERE id = $1"#, doc_id).fetch_one(&self.pool).await?;
[INFO] [stdout]    | |_______________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |           let doc = sqlx::query_as!(Document,
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 103 | |             r#"SELECT id,
[INFO] [stdout] 104 | |                         user_id,
[INFO] [stdout] 105 | |                         doc_title,
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |                         uploaded_at
[INFO] [stdout] 112 | |                 FROM documents WHERE user_id = $1 AND id = $2"#, user_id,id).fetch_one(&self.pool).await?;
[INFO] [stdout]     | |____________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:118:19
[INFO] [stdout]     |
[INFO] [stdout] 118 |           let docs= sqlx::query_as!(Document,
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 119 | |           r#"SELECT
[INFO] [stdout] 120 | |                     id,
[INFO] [stdout] 121 | |                     user_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 129 | |                FROM documents
[INFO] [stdout] 130 | |                WHERE user_id = $1 AND doc_type = $2"#,user_id,doc_type as DocumentType)
[INFO] [stdout]     | |_______________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:141:21
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let result= sqlx::query!(r#"DELETE FROM documents WHERE user_id = $1 AND id = $2"#,user_id,doc_id)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 |        sqlx::query!(r#"DELETE FROM documents WHERE user_id = $1"#, user_id).execute(&self.pool).await?;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         sqlx::query!(r#"
[INFO] [stdout] 159 | |                 UPDATE documents SET
[INFO] [stdout] 160 | |                      doc_title = $1,
[INFO] [stdout] 161 | |                      doc_type=$2
[INFO] [stdout] ...   |
[INFO] [stdout] 165 | |             user_id,
[INFO] [stdout] 166 | |             doc_id).execute(&self.pool).await?;
[INFO] [stdout]     | |___________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:172:21
[INFO] [stdout]     |
[INFO] [stdout] 172 |           let exists= sqlx::query_scalar!(r#"
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 173 | |                                             SELECT EXISTS(SELECT 1 FROM documents WHERE file_name = $1) as "exists!:bool""#,doc_name
[INFO] [stdout] 174 | |         ).fetch_one(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 |           let user=  sqlx::query_as!(User,
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 42 | |             r#"
[INFO] [stdout] 43 | |             SELECT
[INFO] [stdout] 44 | |                 id,
[INFO] [stdout] ...  |
[INFO] [stdout] 61 | |             id
[INFO] [stdout] 62 | |         ).fetch_one(&self.pool)
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |          let user = sqlx::query_as!(User,
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 69 | |         r#"
[INFO] [stdout] 70 | |             SELECT
[INFO] [stdout] 71 | |                 id,
[INFO] [stdout] ...  |
[INFO] [stdout] 87 | |             "#,email
[INFO] [stdout] 88 | |         ).fetch_one(&self.pool)
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/user_repository.rs:95:22
[INFO] [stdout]    |
[INFO] [stdout] 95 |           let exists = sqlx::query_scalar!(r#"SELECT EXISTS(SELECT 1 FROM users
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 96 | |                                                         WHERE email = $1) as "exists!:bool""#, email).fetch_one(&self.pool).await?;
[INFO] [stdout]    | |_____________________________________________________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:101:26
[INFO] [stdout]     |
[INFO] [stdout] 101 |           let saved_user = sqlx::query_as!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 102 | |         User,
[INFO] [stdout] 103 | |         r#"INSERT INTO users(id, user_name, first_name, last_name, gender, address, phone_number,
[INFO] [stdout] 104 | |            date_of_birth, age, email, role, password,profile_image, created_at)
[INFO] [stdout] ...   |
[INFO] [stdout] 135 | |         user.created_at
[INFO] [stdout] 136 | |     ).fetch_one(&self.pool)
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:143:9
[INFO] [stdout]     |
[INFO] [stdout] 143 | /         sqlx::query!(
[INFO] [stdout] 144 | |             r#"UPDATE users SET
[INFO] [stdout] 145 | |                  first_name=$1,
[INFO] [stdout] 146 | |                  last_name = $2,
[INFO] [stdout] ...   |
[INFO] [stdout] 162 | |             user_id
[INFO] [stdout] 163 | |         ).execute(&self.pool)
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:169:22
[INFO] [stdout]     |
[INFO] [stdout] 169 |         let result = sqlx::query!(r#"DELETE FROM users WHERE id = $1"#, id)
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:179:20
[INFO] [stdout]     |
[INFO] [stdout] 179 |           let users= sqlx::query_as!(User,r#" SELECT
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 180 | |                                     id,
[INFO] [stdout] 181 | |                                     user_name,
[INFO] [stdout] 182 | |                                     first_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 196 | |                                 LIMIT $1 OFFSET $2"#,
[INFO] [stdout] 197 | |                                 limit,offset)
[INFO] [stdout]     | |_____________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:209:20
[INFO] [stdout]     |
[INFO] [stdout] 209 |           let users= sqlx::query_as!(User,r#" SELECT
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 210 | |                                         id,
[INFO] [stdout] 211 | |                                         user_name,
[INFO] [stdout] 212 | |                                         first_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 225 | |                                     WHERE first_name ILIKE $1 or last_name ILIKE $1
[INFO] [stdout] 226 | |                                     ORDER BY first_name "#,search_pattern)
[INFO] [stdout]     | |__________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:236:20
[INFO] [stdout]     |
[INFO] [stdout] 236 |           let users= sqlx::query_as!(User,r#" SELECT
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 237 | |                                     id,
[INFO] [stdout] 238 | |                                     user_name,
[INFO] [stdout] 239 | |                                     first_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 253 | |                                 ORDER BY age DESC
[INFO] [stdout] 254 | |                                 "#,gender as Gender)
[INFO] [stdout]     | |____________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:264:21
[INFO] [stdout]     |
[INFO] [stdout] 264 |           let users = sqlx::query_as!(User, r#" SELECT
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 265 | |                                                 id,
[INFO] [stdout] 266 | |                                                  user_name,
[INFO] [stdout] 267 | |                                                  first_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 281 | |                                                 ORDER BY age DESC
[INFO] [stdout] 282 | |                                                  "#, age)
[INFO] [stdout]     | |_________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:292:9
[INFO] [stdout]     |
[INFO] [stdout] 292 | /         sqlx::query!(
[INFO] [stdout] 293 | |             r#" INSERT INTO refresh_tokens (id, user_id, token, family,expires_at)
[INFO] [stdout] 294 | |                 VALUES ($1, $2, $3, $4, $5)"#,
[INFO] [stdout] 295 | |             token.id,
[INFO] [stdout] ...   |
[INFO] [stdout] 299 | |             token.expires_at,
[INFO] [stdout] 300 | |         ).execute(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:307:21
[INFO] [stdout]     |
[INFO] [stdout] 307 |           let token = sqlx::query_as!(RefreshToken,
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 308 | |                             r#" SELECT
[INFO] [stdout] 309 | |                                     id,
[INFO] [stdout] 310 | |                                     user_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 315 | |                                 FROM refresh_tokens WHERE token = $1"#,token
[INFO] [stdout] 316 | |         ).fetch_one(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:323:21
[INFO] [stdout]     |
[INFO] [stdout] 323 |           let result =sqlx::query!(
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 324 | |             r#"DELETE FROM refresh_tokens WHERE token = $1"#,token
[INFO] [stdout] 325 | |         ).execute(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/user_repository.rs:335:9
[INFO] [stdout]     |
[INFO] [stdout] 335 | /         sqlx::query!(
[INFO] [stdout] 336 | |             r#"DELETE FROM refresh_tokens WHERE family = $1"#,family
[INFO] [stdout] 337 | |         ).execute(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/doc_repository.rs:37:25
[INFO] [stdout]    |
[INFO] [stdout] 37 |           let saved_doc = sqlx::query_as!(
[INFO] [stdout]    |  _________________________^
[INFO] [stdout] 38 | |             Document,
[INFO] [stdout] 39 | |             r#"INSERT INTO documents(id, user_id,doc_type, doc_title, file_url, file_type, file_size,file_name, uploaded_at)
[INFO] [stdout] 40 | |               VALUES ($1, $2, $3, $4, $5, $6, $7, $8,$9)
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |             doc.file_name,
[INFO] [stdout] 59 | |         doc.uploaded_at)
[INFO] [stdout]    | |________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/doc_repository.rs:65:19
[INFO] [stdout]    |
[INFO] [stdout] 65 |          let docs = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 66 | |            Document, r#"SELECT
[INFO] [stdout] 67 | |                                 id,
[INFO] [stdout] 68 | |                                 user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 76 | |                                 FROM documents WHERE user_id = $1"#, user_id
[INFO] [stdout] 77 | |        ).fetch_all(&self.pool).await?;
[INFO] [stdout]    | |________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> src/repository/doc_repository.rs:86:18
[INFO] [stdout]    |
[INFO] [stdout] 86 |           let doc= sqlx::query_as!(Document,
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 87 | |             r#"SELECT
[INFO] [stdout] 88 | |                     id,
[INFO] [stdout] 89 | |                     user_id,
[INFO] [stdout] ...  |
[INFO] [stdout] 96 | |                     uploaded_at
[INFO] [stdout] 97 | |                 FROM documents WHERE id = $1"#, doc_id).fetch_one(&self.pool).await?;
[INFO] [stdout]    | |_______________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:102:19
[INFO] [stdout]     |
[INFO] [stdout] 102 |           let doc = sqlx::query_as!(Document,
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 103 | |             r#"SELECT id,
[INFO] [stdout] 104 | |                         user_id,
[INFO] [stdout] 105 | |                         doc_title,
[INFO] [stdout] ...   |
[INFO] [stdout] 111 | |                         uploaded_at
[INFO] [stdout] 112 | |                 FROM documents WHERE user_id = $1 AND id = $2"#, user_id,id).fetch_one(&self.pool).await?;
[INFO] [stdout]     | |____________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:118:19
[INFO] [stdout]     |
[INFO] [stdout] 118 |           let docs= sqlx::query_as!(Document,
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 119 | |           r#"SELECT
[INFO] [stdout] 120 | |                     id,
[INFO] [stdout] 121 | |                     user_id,
[INFO] [stdout] ...   |
[INFO] [stdout] 129 | |                FROM documents
[INFO] [stdout] 130 | |                WHERE user_id = $1 AND doc_type = $2"#,user_id,doc_type as DocumentType)
[INFO] [stdout]     | |_______________________________________________________________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:141:21
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let result= sqlx::query!(r#"DELETE FROM documents WHERE user_id = $1 AND id = $2"#,user_id,doc_id)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 152 |        sqlx::query!(r#"DELETE FROM documents WHERE user_id = $1"#, user_id).execute(&self.pool).await?;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 | /         sqlx::query!(r#"
[INFO] [stdout] 159 | |                 UPDATE documents SET
[INFO] [stdout] 160 | |                      doc_title = $1,
[INFO] [stdout] 161 | |                      doc_type=$2
[INFO] [stdout] ...   |
[INFO] [stdout] 165 | |             user_id,
[INFO] [stdout] 166 | |             doc_id).execute(&self.pool).await?;
[INFO] [stdout]     | |___________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> src/repository/doc_repository.rs:172:21
[INFO] [stdout]     |
[INFO] [stdout] 172 |           let exists= sqlx::query_scalar!(r#"
[INFO] [stdout]     |  _____________________^
[INFO] [stdout] 173 | |                                             SELECT EXISTS(SELECT 1 FROM documents WHERE file_name = $1) as "exists!:bool""#,doc_name
[INFO] [stdout] 174 | |         ).fetch_one(&self.pool).await?;
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_scalar` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Address` and `Role`
[INFO] [stdout]  --> src/repository/user_repository.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::entities::user::{Gender, Address, RefreshToken,Role};
[INFO] [stdout]   |                                     ^^^^^^^               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::types::Json`
[INFO] [stdout]  --> src/repository/user_repository.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::types::Json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Address` and `Role`
[INFO] [stdout]  --> src/repository/user_repository.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::entities::user::{Gender, Address, RefreshToken,Role};
[INFO] [stdout]   |                                     ^^^^^^^               ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::types::Json`
[INFO] [stdout]  --> src/repository/user_repository.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sqlx::types::Json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/utility/auth_util.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let result=hash_refresh_token(refresh_token);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `contactMS` (bin "contactMS") due to 23 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `contactMS` (bin "contactMS" test) due to 23 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3553898a8d1248793667d141cf2275f5a4ad2c973ef7545f22bb938c62c52ec5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3553898a8d1248793667d141cf2275f5a4ad2c973ef7545f22bb938c62c52ec5", kill_on_drop: false }`
[INFO] [stdout] 3553898a8d1248793667d141cf2275f5a4ad2c973ef7545f22bb938c62c52ec5
